package com.qf.day02;

import java.util.Scanner;

public class IfMultyDemo {
    public static void main(String[] args) {
        System.out.println("请输入您的金额");
        Scanner scanner = new Scanner(System.in);
        double money = scanner.nextDouble();
        if(money>10000){
            System.out.println("买苹果");
        }else if (money>7000){
            System.out.println("买华为");
        }else if(money>5000){
            System.out.println("买小米");
        }else if(money>3000){
            System.out.println("买诺基亚");
        }else{
            System.out.println("打公共电话");
        }
    }
}
